{% extends "courses/courses-generic.html" %}

{% block content %}
<p>Course: {{ course.title }}</p>
<p>Instructor: {{ course.instructor.name }}</p>

{% if latest_poll_list %}
    <ul>
    {% for poll in latest_poll_list %}
        <li>{{ poll.question }}</li>
    {% endfor %}
    </ul>
{% else %}
    <p>No polls are available</p>
{% endif %}

{% endblock %}
